#pragma once

#include <stdio.h>
#include <string.h>
#include <unistd.h>


////老师
//typedef void(*callback_t)(double, double);
////extern void ForTest();
////void ProcBar();
//void ProcBar(double total, double current);

//自己
//version1
extern void Proc1();//函数声明时extern关键字带不带都行

//version2
extern void Proc2(double total, double current);
extern void Download(double tutal);

////version3
typedef void(*call_proc3)(double, double);
extern void Download2(double filesize,  call_proc3 proc3);//call_proc3是函数指针类型
